function test(key, env)
	local engine              = env.engine
	local context             = engine.context
	local input_code          = context.input
	local preedit_code_length = utf8.len(input_code)
	local config              = engine.schema.config
	local schema_id           = config:get_string("schema/schema_id")

	if (preedit_code_length > 1 and preedit_code_length < 6) then
		-- if schema_id == 'flypy_flypy' then
			-- local luna = Schema("schema_id")
			local de=config:get_list("speller/algebra")
			local de1=config:get_map("speller/algebra")
			if de~=nil then
				log.error("list")
			end
			if de1~=nil then
				log.error("map")
			end
			log.error(schema_id)
			log.error(config:get_string("speller/algebra"))
		end
	-- end
end
local xh =require("xh2py")
-- local result = HMathParser.Compute(str)
-- print(result)

-- local er=math.tan(3.14*45/180)
-- print(er)
-- end


-- function test(key, env)
-- 	local engine              = env.engine
-- 	local context             = engine.context
-- 	local input_code          = context.input
-- 	local preedit_code_length = utf8.len(input_code)
-- 	if (preedit_code_length > 1 and preedit_code_length < 6) then
-- 		return
-- 	end
-- end

-- local function split(input, delimiter)
-- 	input = tostring(input)
-- 	delimiter = tostring(delimiter)
-- 	if (delimiter == "") then return false end
-- 	local pos, arr = 0, {}
-- 	for st, sp in function() return string.find(input, delimiter, pos, true) end do
-- 		table.insert(arr, string.sub(input, pos, st - 1))
-- 		pos = sp + 1
-- 	end
-- 	table.insert(arr, string.sub(input, pos))
-- 	return arr
-- end
-- function calca_Translator(input)
-- 	if not input:match("^/js") then return end
-- 	if not input:match("=") then return end
-- 	if string.match(input, '^/js.+') then
-- 		local num = split(string.sub(input, 4), '=')[1]
-- 		if num == nil then return end
--         print(num)
-- 		local result = HMathParser.Compute(" "..num)
-- 		if result == nil then return end
--         print(result)
-- 		-- yield(Candidate("calca", seg.start, seg._end, result, ""))
-- 	end
-- end


-- return test()

-- test()
-- calca_Translator("/jstan($pi*45/180)=")
local result=xh.xhLine2py("aolimu")
print(result)